package kr.board.domain;

import java.sql.Date;

import org.springframework.web.multipart.MultipartFile;

public class BoardCommand {

	private int b_num;
	private String b_title;
	private String b_content;
	private MultipartFile upload;
	private int b_open;
	private String b_date;
	private int b_hits;
	private int pos;
	private int depth;
	private String m_id;
	private String b_filename;
	
	public int getB_num() {
		return b_num;
	}
	public void setB_num(int b_num) {
		this.b_num = b_num;
	}
	public String getB_title() {
		return b_title;
	}
	public void setB_title(String b_title) {
		this.b_title = b_title;
	}
	public String getB_content() {
		return b_content;
	}
	public void setB_content(String b_content) {
		this.b_content = b_content;
	}
	public MultipartFile getUpload() {
		return upload;
	}
	public void setUpload(MultipartFile upload) {
		this.upload = upload;
	}
	public int getB_open() {
		return b_open;
	}
	public void setB_open(int b_open) {
		this.b_open = b_open;
	}
	public String getB_date() {
		return b_date;
	}
	public void setB_date(String b_date) {
		this.b_date = b_date;
	}
	public int getB_hits() {
		return b_hits;
	}
	public void setB_hits(int b_hits) {
		this.b_hits = b_hits;
	}
	public int getPos() {
		return pos;
	}
	public void setPos(int pos) {
		this.pos = pos;
	}
	public int getDepth() {
		return depth;
	}
	public void setDepth(int depth) {
		this.depth = depth;
	}
	public String getM_id() {
		return m_id;
	}
	public void setM_id(String m_id) {
		this.m_id = m_id;
	}
	public String getB_filename() {
		return b_filename;
	}
	public void setB_filename(String b_filename) {
		this.b_filename = b_filename;
	}
	@Override
	public String toString() {
		return "BoardCommand [b_num=" + b_num + ", b_title=" + b_title
				+ ", b_content=" + b_content + ", upload=" + upload
				+ ", b_open=" + b_open + ", b_date=" + b_date + ", b_hits="
				+ b_hits + ", pos=" + pos + ", depth=" + depth + ", m_id="
				+ m_id + ", b_filename=" + b_filename + "]";
	}
	
}
